﻿using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace YellowMap
{
    public class CommonX
    {
        public static string ReadFileInProject(string filePath)
        {
            var res = App.GetResourceStream(new Uri(filePath, UriKind.Relative));
            var txt = new StreamReader(res.Stream).ReadToEnd();
            return txt;
        }
    }
}
